﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AXTesting
{
    class CreateAFreeTextInvoice
    {
        //Select AccountsRecievable
        //Select Common
        //Select Free text invoices
        //Select All free text invoices
        //Select New
        //Select Free text invoice
        //Enter Customer = 1101
        //Select Show
        //Select Header View
        //Select Financial dimensions tab
        //Enter cost center = OU_4571
        //Enter department = OU_115
        //Select show
        //select lines view
        //Select Invoice lines tab
        //Select Invoice lines tab
        //Enter Description = Test
        //Enter Account = 401100
        //Enter Sales Tax group = NDFAR
        //Enter Unit price = 1000.00
        //Select add line
        //Select invoice lines tab
        //Enter Description = Test2
        //Enter account = 401200
        //enter sales tax group = CA
        //Enter Unit price = 2000.00
        //Select Financial dimensions tab
        //Enter cost center = OU_3569
        //Enter department = OU_160
        
        //Select Setup
        //Select Sales Tax
        //Enter Total actual sales tax amount = 400.00
        //Click the adjustments tag
        //Click the apply button
        //close window
        //select setup
        //select Miscellaneous charges
        //Enter Misc charge = 01
        //Enter value = 25.00
        //Select Distribute amounts button
        //Click split button
        //Enter Ledger account = 110180
        //enter cost center = OU_2310
        //Enter department = OU_3568
        //enter expense purpose = Conference/Seminar
        //enter percent = 50
        //close window
        //close Misc. Charges window
        //select post
        //select post
        //click Ok

        //Select View
        //Select Invoice Journal
        //Expected results
        
        //Select SubledgerJournal
        //Expected results
        //Close Subledger Journal

        //Select Voucher
        //Expected results

        //Click Posted Sales Tax button
        //Expected results

        //close all forms
    }
}
